HTMLify
Image Cards.html
Views: 723 | Author: shubh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Image Cards</title> <style> body { background-color: black; background-image: url("BackgroundImage.png"); background-size: cover; background-repeat: no-repeat; } p { color: white; font-family: fantasy; font-size: 35px; } .gallery { width: 30%; display: flex; height: 380px; gap: 5px; margin-top: 5%; } .gallery img { width: 10%; height: 100%; object-fit: cover; border-radius: 8px; border: 2px solid white; transition: all ease 0.4s; cursor: pointer; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); } .gallery img:hover { width: 100%; } </style> </head> <body> <p>Image Cards Transition</p> <div class="gallery"> <img src="Doraemon_Image1.png" alt="Doraemon Image"> <img src="Doraemon_Image2.png" alt="Doraemon Image"> <img src="Doraemon_Image3.png" alt="Doraemon Image"> <img src="Doraemon_Image4.png" alt="Doraemon Image"> <img src="Doraemon_Image5.png" alt="Doraemon Image"> <img src="Doraemon_Image6.png" alt="Doraemon Image"> </div> </body> </html> |